package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 序号对象 sys_sequence
 *
 * @author yilong.fu
 * @date 2023-05-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_sequence")
public class SysSequence extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 序号名称
     */
    private String name;

    /**
     * 当前值
     */
    private Long currentValue;

    /**
     * 增加量
     */
    private Long increment;


}
